package jk.framework.canary.core.rule;

import jk.framework.canary.core.po.RouteContext;

/**
 * @author cuichao
 * 路由规则
 */
@FunctionalInterface
public interface RouteRule<T> {


    /**
     *
     * @param context
     * @return
     */
    boolean isAllow(RouteContext<T> context);

}
